home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
MIDIMAP.ZIP
/
MIDIMAP.DOC
< prev
next >
Wrap
Text File
|
1996-11-26
|
4KB
|
127 lines
******************************
MIDIMAP v1.0
maps channel numbers of midi binaries
by Guenter Nagler
1996
(gnagler@ihm.tu-graz.ac.at)
******************************
[0] FEATURES
+ reads a binary midi file
+ maps channel numbers (1-16)
+ writes a binary midi file
[1] BACKGROUND
My earlier program midi2gm can map channels but does other modification
to non-gm files too.
This utility only maps channel numbers and copies the rest of the midi data.
It can be used for non-general-midi compatible midi files.
[2] FILES DESCRIPTION
MIDIMAP.EXE.........converter program
MIDIMAP.DOC.........this file, showing usage of MIDIMAP.EXE
MIDIIO.HPP..........header file for a c++ midi parser
MIDIIO.CPP..........source code for a c++ midi parser
MIDIMAP.CPP.........c++ source code for modifying midi files
MIDIMAP.MAK.........make file for project
MIDIMAP.CFG.........compiler options for make
MIDIMAP.PRJ.........compiler project for Borland (tm) c++ compilers
only MIDIMAP.EXE is required to run program
[3] COPYRIGHT
MIDIMAP (c) 1996 was created by Guenter Nagler.
MIDIMAP is free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of MIDIMAP. Thus, you may NOT sell or bundle MIDIMAP with any
product in a retail environment (shareware disk distribution, CD-ROM,
etc.) without permission of the author.
You may give MIDIMAP to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
MIDIMAP was designed to handle 100% compatible midi files.
Its parser was tested with 600 different midi files but I
can not say if each 100% midi compatible midi file can be
correctly converted.
So I give no guarantees of the results, especially with non 100%
compatible midi files.
If you find a midi file that you think to be 100% compatible midi
that is not correctly converted, please send a sample file to
gnagler@ihm.tu-graz.ac.at .
Use MIDIMAP at your own risk. Anything you do with MIDIMAP is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running MIDIMAP
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using MIDIMAP, don't use it!
You are here forewarned.
[5] INSTALLATION
[MSDOS]
Simply copy MIDIMAP.EXE in a directory that is in your path.
When you start the program without arguments
[UNIX]
compile sources with your C++ compiler (e.g. GNU Compiler g++):
g++ -o MIDIMAP MIDIMAP.cpp midiio.cpp
and run program
$ MIDIMAP
C:\> MIDIMAP
you should get the usage text (see next section)
[6] USAGE
usage: MIDIMAP [-q][-mapchannel #[-#] #] input.mid output.mid
The parts in brackets [...] are optional.
The program MIDIMAP allows following option:
-version get program version
-q be quiet, program does not show the changes
-mapchannel #[-#] # map all channel dependent commands from channels #-# to channel #
(first #-# (1-16) are source, second # (1-16) is destination)
Warning:
Do not expect that MIDIMAP will produce a copy of the original
file! MIDI allows to encode its commands in different ways without
changing the semantic of the notes (It is allowed to compress the
midi file by ommiting redunant command bytes, but it is no duty).
MIDIMAP only compresses note on/off command bytes for higher
compatibility.
[8] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at
[9] USE
example: map drum channel from extended midi to general midi
MIDIMAP -map 16 10 original.mid copy.mid
example: map a list of drum channels used on channels 10-16 to general midi
MIDIMAP -map 10-16 10 original.mid copy.mid
Hint: Use miditrk (see [8]) to show the available tracks and their
channel number.